package org.grayrabbit.cms.plugin.servlet;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author sys53
 * @version 1.0
 * @created 06-一月-2012 17:14:53
 */
public interface DownloadStrategy {

	/**
	 * 
	 * @param matchStr
	 * @return 
	 */
	public boolean matches(String matchStr);
	public void serveFile(BaseFileServerServlet baseFileServerServlet,HttpServletRequest request,HttpServletResponse response) throws IOException;



}